#import "KingdomUnveilCell.h"


@implementation KingdomUnveilCell

- (instancetype)initWithFrame:(CGRect)frame {
	self = [super initWithFrame:frame];
	if (self) {
		//self.contentView.backgroundColor = UIColor.whiteColor;
	}
	return self;
}

- (void)setSolarWaffleGlisten:(KingdomUnveilModel *)solarWaffleGlisten {
	_solarWaffleGlisten = solarWaffleGlisten;

	//: 配置cell的UI

[self.nostalgicFlourishImageView sd_setImageWithURL:[NSURL URLWithString:solarWaffleGlisten.tranquilBreezeDabble.stringValue] placeholderImage:nil];

[self.radiantImageView sd_setImageWithURL:[NSURL URLWithString:solarWaffleGlisten.tranquilBreezeDabble.stringValue] placeholderImage:nil];

}
//: 设置upliftVolatileVelvet的圆角
+ (void)symphony:(UIImageView *)zenithCurious zebra:(CGFloat)yardHopeBrilliance {
	zenithCurious.layer.cornerRadius = yardHopeBrilliance;
	zenithCurious.layer.masksToBounds = YES;
}

- (UITextView *)xenophobeBlossomXylophoneTextView {
	if (!_xenophobeBlossomXylophoneTextView) {
	
        _xenophobeBlossomXylophoneTextView = [[UITextView alloc] init];
        _xenophobeBlossomXylophoneTextView.size = CGSizeMake(123, 177);
        _xenophobeBlossomXylophoneTextView.left = 30;
        _xenophobeBlossomXylophoneTextView.top = 6;
	}
	return _xenophobeBlossomXylophoneTextView;
}

//: noodleZestfulTranquil 的点击事件
- (void)action_4 {}

- (UITextView *)archiveTextView {
	if (!_archiveTextView) {
	
        _archiveTextView = [[UITextView alloc] init];
        _archiveTextView.frame = CGRectMake(27, 35, 93, 127);
	}
	return _archiveTextView;
}

- (void)rippleInstinctInitUIKitView {

    //: 描述_0
    UIImageView *cableWonderJeopardy = [[UIImageView alloc] initWithFrame:CGRectZero];
    cableWonderJeopardy.contentMode = UIViewContentModeScaleAspectFill;
    cableWonderJeopardy.clipsToBounds = YES;
    cableWonderJeopardy.layer.cornerRadius = 14;
    cableWonderJeopardy.layer.masksToBounds = YES;
    UIImage *yonder = [UIImage imageNamed:@"images/image_0.png"];
    if (yonder) {
	    cableWonderJeopardy.image = yonder;
    }
    self.nostalgicFlourishImageView = cableWonderJeopardy;
    [self.contentView addSubview:cableWonderJeopardy];
	[self.nostalgicFlourishImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(36);
		make.height.mas_equalTo(170);
		make.bottom.equalTo(@(13));
	}];


    //: 描述_1
    UIImageView *upliftVolatileVelvet = [[UIImageView alloc] initWithFrame:CGRectZero];
    upliftVolatileVelvet.contentMode = UIViewContentModeScaleAspectFill;
    upliftVolatileVelvet.clipsToBounds = YES;
    //: UIImageView的骚操作 充数
    [KingdomUnveilCell symphony:upliftVolatileVelvet zebra:4];
    UIImage *rippleDelight = [UIImage imageNamed:@"images/image_1.png"];
    if (rippleDelight) {
	    upliftVolatileVelvet.image = rippleDelight;
    }
    self.radiantImageView = upliftVolatileVelvet;
    [self.contentView addSubview:upliftVolatileVelvet];
	[self.radiantImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(104);
		make.height.mas_equalTo(184);
		make.top.equalTo(@(18));
		make.bottom.equalTo(@(15));
	}];

	//: 描述_2
	[self.contentView addSubview:self.xenophobeBlossomXylophoneTextView];


    //: 描述_3
    UIView *terrainGritYearling = [[UIView alloc] init];
    self.hologramSymphonyBalanceView = terrainGritYearling;
    [self.contentView addSubview:terrainGritYearling];
	[self.hologramSymphonyBalanceView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(104);
		make.height.mas_equalTo(200);
		make.top.equalTo(@(25));
		make.bottom.equalTo(@(29));
	}];


    //: 描述_4
    UIButton *noodleZestfulTranquil = [[UIButton alloc] initWithFrame:CGRectZero];
    noodleZestfulTranquil.size = CGSizeMake(31, 196);
    noodleZestfulTranquil.left = 17;
    noodleZestfulTranquil.top = 13;
    UIImage *haze = [UIImage imageNamed:@"images/icon_4.png"];
    if (haze) {
	    [noodleZestfulTranquil setImage:haze forState:UIControlStateNormal];
    }
    [noodleZestfulTranquil setTitle:@"button_4" forState:UIControlStateNormal];
    [noodleZestfulTranquil setTitle:@"button_selected_4" forState:UIControlStateSelected];
    [noodleZestfulTranquil setTitleColor:[UIColor colorWithRed:203/255.0 green:66/255.0 blue:122/255.0 alpha:0.5] forState:UIControlStateNormal];
    [noodleZestfulTranquil setTitleColor:[UIColor colorWithRed:133/255.0 green:17/255.0 blue:157/255.0 alpha:0.9] forState:UIControlStateSelected];
    [noodleZestfulTranquil addTarget:self action:@selector(action_4) forControlEvents:UIControlEventTouchUpInside];
    self.glimmerQuiverYarnButton = noodleZestfulTranquil;
    [self.contentView addSubview:noodleZestfulTranquil];

	//: 描述_5
	[self.contentView addSubview:self.archiveTextView];


    //: 描述_6
    UIView *flourishJuggle = [[UIView alloc] initWithFrame:CGRectZero];
    flourishJuggle.frame = CGRectMake(50, 27, 58, 59);
    self.transformView = flourishJuggle;
    [self.contentView addSubview:flourishJuggle];
}


@end